package org.whale.assistant;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;
import reactor.core.publisher.Flux;


/**
 * 定义挂号智能体
 * @AiService(
 *         wiringMode  =  EXPLICIT ,
 *         streamingChatModel  =  " " ,
 *         chatMemoryProvider  =  " " ,
 *         tools  =  " " ,
 *         contentRetriever  =  "")
 */

public interface DoctorAgent {

    @SystemMessage(fromResource = "prompt-template.txt")
    Flux<String> streamChat(@UserMessage String message , @MemoryId String memoryId);

    @SystemMessage(fromResource = "prompt-template.txt")
    String chat(@UserMessage String message , @MemoryId String memoryId);
}
